package org.webdriver.patatiumwebui.pageObject;

import org.webdriver.patatiumwebui.utils.BaseAction;
import org.webdriver.patatiumwebui.utils.Locator;

public class CreatePOPage extends BaseAction{
    private String path="src/main/java/org/webdriver/patatiumwebui/pageObjectConfig/UILibrary/SMSLibrary.xml";
    public CreatePOPage(){
        setXmlObjectPath(path);
        getLocatorMap();
    }
    public Locator 单据类型下拉框(){
        Locator locator=getLocator("单据类型下拉框");
        return locator;
    }

    public Locator 单据类型输入框() {
        Locator locator=getLocator("单据类型输入框");
        return locator;
    }

    public Locator 地点下拉框(){
        Locator locator=getLocator("地点下拉框");
        return locator;
    }


    public Locator 地点输入框() {
        Locator locator=getLocator("地点输入框");
        return locator;
    }
    public Locator 采购组下拉框(){
        Locator locator=getLocator("采购组下拉框");
        return locator;
    }
    public Locator 采购组输入框(){
        Locator locator=getLocator("采购组输入框");
        return locator;
    }
    public Locator 采购组织下拉框(){
        Locator locator=getLocator("采购组织下拉框");
        return locator;
    }
    public Locator 采购组织输入框(){
        Locator locator=getLocator("采购组织输入框");
        return locator;
    }
    public Locator 供应商下拉框(){
        Locator locator=getLocator("供应商下拉框");
        return locator;
    }
    public Locator 供应商输入框(){
        Locator locator=getLocator("供应商输入框");
        return locator;
    }

    public Locator 结算地点下拉框(){
        Locator locator=getLocator("结算地点下拉框");
        return locator;
    }
    public Locator 结算地点输入框(){
        Locator locator=getLocator("结算地点输入框");
        return locator;
    }

    public Locator 备注(){
        Locator locator=getLocator("备注");
        return locator;
    }
    public Locator 新增商品行按钮(){
        Locator locator=getLocator("新增商品行按钮");
        return locator;
    }

    public Locator 取消按钮(){
        Locator locator=getLocator("取消按钮");
        return locator;
    }
    public Locator 确定按钮(){
        Locator locator=getLocator("确定按钮");
        return locator;
    }

    public Locator 关闭按钮(){
        Locator locator=getLocator("关闭按钮");
        return locator;
    }


}
